This task shouldn't be too hard.
When a second touch is registered, save distance between two fingers in a variable.
Then on every tick calculate new distance between two fingers and adjust zoom accordingly.
Make sure that none of the other touch event in the game are triggered while player is zooming.