Some levels contain a secret word that must be found in the grid to earn coins. The first letter of the secret word is revealed while the other letters are hidden by coins.
By finding the secret word, you will get the number of coins displayed and they will be stored in the Chest.