1. Connect the iPad to your computer. Dismiss the message that it's passcoded and can't connect.
2. Hold down the Home button and the Lock button until it restarts and then presents you with the "Connect to iTunes" graphic.
3. iTunes should then prompt you that it has detected an iPad in recovery mode and let you restore it.