How do you make the camera shake while zooming in?

How can you have the camera shake while it’s also zooming in? If that makes sense…?