Coins can be earned by successfully serving customers and completing levels. Gems can be obtained through achievements, leveling up, or by purchasing them with real money.