This is a difficult thing to teach your dogs, because playing and chasing are more fun for them than jogging with you.
Self-rewarding behavior
Dogs cannot read your mind and don't know that you want to trot along this boring path at a boring pace without playing with them. Your running instinctually triggers either a playing or chasing behavior in your dogs. Both of those are more fun than jogging. Having fun is a reward. So your dogs reward themselves for playing, but not for jogging docilely next to you.
To break this cycle, you must reward them for jogging with you and running next to you. Since eating treats while running is not optimal, you should reward them with your voice alone.
You must stop them whenever they start playing and chasing you to avoid them rewarding themselves for a behavior you don't want. This means stopping your jog. It will be very hard to teach them not to play at first and you might be stopping more than jogging for several days, maybe weeks.
Energy levels
To help you with your training, you should have your dogs play right before jogging, as suggested by virolino.
Let them chase each other, play fetch or tug of war for a few minutes. You want them to burn through the worst of their excitement and over-abundance of energy, but not to tire them out completely.
Dogs are comparable to children: they are easily excited by things but this excitement abates rather quickly, too. You want to intentionally excite them before you even start jogging so their excitement returns to a normal level while you're jogging.
Body language
You cannot expect your dogs to magically know what you want, you have to tell them. The best way to communicate your intentions with your dogs is via body language.
- Bowing your upper body forward quite suddenly resembles the "play bow" and initiates playing behavior
- Sprinting off initiates chasing behavior. Your dogs might start chasing other people or animals if they think you might be chasing those.
- Jogging at a slow pace might resemble a prowling or roaming. This is what you want to achieve, so avoid the other mentioned gestures.
To keep your dogs from playing with each other, you should position yourself between them and keep them apart (on a short leash). Start at a walking pace for a few seconds, then increase the speed to your preferred jogging pace over a few seconds. Your dogs should read your body language and start trotting. If they start pulling you, nipping at your legs or playing with each other, stop your jog and their behavior for a few seconds. They need to learn that they can have fun in the constraint of your rules (keep a jogging pace, don't run right in front of me) but that the fun stops as soon as they overstep these boundaries.
I suggest keeping the reprimands to a minimum.
"NO Cesar! Hey Cesar! Leave it!"
That's much too much noise and doesn't mean anything to your dog.
"NO Cesar!" is all you need, if you immediately stop the fun.