Check out How to zoom scroll Mac by JR. Here is an excerpt:
My buddy Dan showed me this cool trick for two finger zooming on the mac.
Open Accessibility in Preferences and select Zoom, then Use scroll gesture with modifier.
Now when you see something you want to zoom into on the screen, hold down control, x2 finger swipe up, and move the mouse around…