A: How's it going? OR How does it go?
B: Great/Good/Not bad/OK/Pretty well/Pretty bad/Terribly/Horribly (etc.)
A: (It was) Nice talking to you.
B: (It was nice talking to) You, too.
The words in brackets ( ) are optional.
A: It was nice talking to you.
B: (Talking to you was nice for) me, too.