Zoom with camera in an animation
You can animate Focal length in camera properties panel



Go to the first frame of you animation and insert a keyframe on the focal length, right click over the focal length and select Insert Keyframe value or press I)

Move to a different frame, change the focal length value and insert another keyframe. 

Animation example