wasd or arrow keys to move. You can also use the spacebar to jump, avoid lava and spikes. Don't worry, in this game, you have endless lives, weird right? I hope you enjoy it :D. Also, there are enemies as well, so as in any online game/mobile game, jump on their heads and squish them.
Thanks to griffpatch for the tutorial on how to make a platformer in scratch.