wanna is contraction of "want to" , purely colloquial. never use it in writing... we write the sound of our speech, when we say "want to", we say it fast, so it sounds like "wannuh"
can't is a contraction of can not, and it is acceptable for use in formal writing, though "can not" is often more suitable for formal situations.