If you are trying to reset the device then iOS 7's new security requires you to enter the passcode for the device. This prevents a thief from resetting a stolen phone and selling it new. If you cannot enter the correct passcode, then you can reset the device.