How to track and zoom in AE
Here is how I would do it:

Track the cursor in After-Effects (using the tracking-panel)
Apply the movement to a Null-Object
Create a camera
Parent the camera to the Null
Change the focal length in the camera to achieve the zoom

Now your camera should follow the cursor.