How funny, and yes, it is like having 2 toddlers, actually you do
Have a ball handy and when this happens, toss the ball and start a game of fetch. Anything to direct his attention to something else without scolding him. How old is he? If he is under 6 mos of age, a lot of times, neutering will halt this bahaviour. Good luck 