A. Tom asked me I would go there with him.
B. Tom asked me if I would go there with him.
Feedback Tom asked me if I would go there with him.' - this is the right word order in Reported Speech for general questions. We add 'if' before a pronoun and then place an auxiliary.
C. Tom asked me if would I go there with him.
D. Tom asked me if I went there with him.