There isn't any option to disable/enable the keyboard of your PC but your Touchpad does have. Press fn+F7 and that should enable the Touchpad of your laptop.
- Go to Device Manager and check if keyboard is listed normally without any mark on it.
- Right click on the keyboard driver and see if you'll have Enable option.
- If there's no Enable option just uninstall the keyboard driver then reboot your laptop and it will reinstall the driver automatically.
- If all these will not work do a System Restore, restore it back to an earlier date or time before the problem even happened.