Poop on a schedule.
Pooping is a non-negotiable part of their daily routine. At first, they need a schedule and eventually they will get in the habit of going right when the urge hits. After breakfast and after dinner are two great times to poop, as the urge to poop is generally strongest after eating, especially in the morning.