You can earn some coins each day from leaving them at a gym. Your Pokemon will earn a coin every 10 minutes it occupied a Gym. You can have multiple Pokemon in different Gyms earning coins. The maximum amount of coins you can get from all of your Pokemon in Gyms per day is 50