There is more than one way of acquiring coins. Aside from purchasing them in the store, you will also receive free coins every time you complete a level.
A daily challenge is also available where you can earn coins based on how long you consistently completed it.