If you are using the Windows 10 Camera App, sadly, you can’t zoom in with your webcam. Even if your webcam's recording software can do so. Instead, download webcam software for your webcam from the manufacturer's website. For example, when using my Logitech C920 I can use the Logitech Capture Software. In the controls, there is a zoom slider and pan/tilt arrows.