Go to https://iforgot.apple.com to retrieve the ID and reset the password. See also If you forgot your Apple ID - Apple Support
Failing that, as long as you can produce legitimate proof that you are the owner (which must include the serial, IMEI or MEID number) you can request unlocking as detailed here: Activation Lock - Support. Note that the process will completely erase the device.