I am a constitutional scholar, but I want to take a nap rather than type an explanation. See the wiki entries for "Necessary and Proper Clause" and "Commerce Clause."
IMPROVED version with somewhat better citation from eatenmyeyes, a person I encountered on the internet who claims to be a Constitutional scholar and certainly was able to come up with a better citation than I was.