Tap the Mega Jump button at the bottom of the main menu, then use the right arrow to scroll across until you reach the friends code entry field. Type XSTMK there and you will receive 500 mega points.
Five hundred points is a meaningful amount early on, enough for a couple of the cheaper upgrades that make the difference between stalling out and climbing properly. Spend them on height and launch rather than cosmetics.
The reason the code field is buried in a sideways-scrolling menu is simply that Mega Jump's interface is built for a phone held vertically. Swipe deliberately and you will find it.