Launch camera, then lightly press the shutter button in the middle and slide it to the right to zoon in or to the left to zoom out.

You can set the volume keys to function as zoom. On your camera interface, tap the Settings button at the top left corner > Set volume key as > zoom.
Note: This knowledge is currently only applicable for ZenFone6. Please stay tuned for further updates on our official website.