you get one per hour automatically, up to a limit of 10, when you have to spend them on research.
you can see them in the center of the top bar of your village screen.
if you want more, click the plus sign next to them. the price increases by 50 coins each time you buy one.
and i recommend you have a look at the "guides" section of this forum. there's some very helpful information there.