Yes, as already noted, wanna and gonna are forms of want to and going to. It's common for English people, when they are speaking rapidly, to drop the unstressed part of the word. Although you don't need to aspire to speak like this when you learn English, you should learn to recognise these words (and others) to help you with your comprehension.
Hope that helps!