Hook up your iPad to the Macbook with the Lightning (charging) cable. Make sure the Macbook is off or at least re-start it.
Open up Quick Time Player on the Macbook
Go to File/New Movie recording
When you choose your input device is (see attached pic), choose your iPad NOT the Default Macbook Face time Camera do the same for the Microphone is you want the sound from the iPad as well.