It's pretty much exactly the same as super smash bros. arrow keys for player 2 wasd for player 1 player to uses space bar to shoot player 1 uses q to shoot
Thanks to @griffpatch_tutor for his platforming tutorial because after playing it I understood how to make my platformer and all other platformers I make after this