Coins are earned in different ways. Such as: Visiting your friends, digging up treasure island lands, quests, fighting the monsters, level up and workshops. You can add coins by using Playfish Cash too!
Coins are consumed on buying things, weapons, tools, lands and hiring crews without asking.
(You can expand this article if nessesary)