It's called the "presumption of innocence". Every person is presumed in law to be innocent of a crime that he's charged with, unless the government can prove that he's guilty.
You never have to prove you didn't do something - the government has to prove that you did.
Kim