Here is a video demonstrating how to teach a dog to sit politely rather than jump up when you are sitting on the couch. This can transfer into having the dog sit politely for permission to jump into your lap, instead of just leaping on you when you least expect it.