29Alfa is right, hamster balls are great for while you're cleaning them out. The type our shop stocked weren't very well made though, and the ends could come open quite easily - again, this is 15 years ago, they might be fine now.
If you get a standard type cage with more than one floor, then just lift the cage off the plastic base while the hamster is on an upper floor, put it on a dolid surface so he's still encaged, and clean out the base at your leisure.
They're not an animal that tend to get stressed, so no need to worry about harming him. (although my niece who refused to leave the hamster alone for basically 24 hours a day did manage to stress one out to the extent that it started losing hair

Got her to stop now though.)