Click/Use Space to... click. Use the 1 key to buy and upgrade, which costs 10 clicks, then 100, then 1000, etc.