Webcams uses a lot of computing power and current, it would be best to use a Raspberry Pi Cam.
As a standard, the Pi supports only one Pi Cam, but in this case is not enough: a camera on the rover and one on the arm (drive mode view and arm view).
No worries! There is the amazing Waveshare Pi Cam scheduler. This device allows us to connect two Pi Cams and switch between them using a GPIO (General Purpose Input Output).
On the software side, Pi Cam Web Interface just solves everything and fast.