"what does that mean" is correct, it can be used for pointing out things, words or signs that you don't really understand and usually the object is far from you and your friend
for example : you point at a sign which is written in Russian language
or "what does this mean" for closer object like pointing a title or sentence on a book
you can also use "what does it mean" if you want further explanation