Both are possible in appropriate contexts. I think others will agree that "onto" suggests that he jumped on the top (roof) of the train, while "into" says he got inside the train jumping.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.