You can collect coins by
- Completing levels
- Reaching a new Village Rank
- Spinning the Wheel of Furtune
Some buildings even give you the chance to get coins by tapping them every hour.
If you want to buy an object that costs more coins than you currently have, you can buy the missing coins with diamonds.