You can purchase more Gold and Food by using Gems.
 
You can also obtain them through missions, quests, and Events.