Use the up arrow to jump higher, press down arrow to pound down and left and right arrows to move and spin. If your stuck on the roof press down button and hold.
Hope you like! Also had some help from MajesticPie