That's just as wrong as "Which shop are you going?" :)
The -t suffix designates a direct object, i.e. the thing upon which an action is taken. Megy - to go, is an intransitive verb, which means that it does not take direct objects. You cannot say "I go the park", you need a preposition. The goal suffix -hez is taking that role in the Hungarian sentence.