I mean they should be old enough at this point to be reasoned with. Just tell them that the litter box has pee and poop in it and they'll get sick if they touch it. Then you can give them another task they can do to help with the cat, like feeding it.
This is what I am afraid of with my kiddo.