Eat a lot of junk! The more junk you eat in a game, the more coins you will earn once the farmer catches you.
Additionally, be on the lookout for secret bonus areas where you can find even more coins!