I found that you're able to clear the spikes by just staying left.
Yeah thanks man! Just holding down left and quickly releasing after landing did the trick. I also tried the game with a controller and it was a lot easier.