You earn gold coins every time you level up. You can also buy them at the Bank to speed up your investigation.
There is a daily bonus in the game and you get 3 coins if you have logged in the game five days in a row.
The money tree also gives you gold coins (the money tree is the prize of one of temporary quests).