The controls are explained in-game. You can also click the mouse instead of pressing space.
credit to the Alasdair G and novice27b I made the pipes go up and down