1
Try pressing the Num lock key or Fn + the Num Lock key to test if that gets the numeric keys working.
If not, try pressing Fn + Esc.
2
If that does not resolve the problem:
Open Command Prompt, then paste in this command and press Enter:
msdt.exe -id KeyboardDiagnostic
Run that Keyboard Troubleshooter to see if that can solve the problem.
.
If that does not resolve this for you
Open Device Manager
Expand the Keyboards section
Right click your keyboard and choose 'Uninstall'
Then restart your PC
.
If the problem is still not resolved:
Bring up the on-screen keyboard, are those keys working correctly on that keyboard?
Connect another external keyboard to your system, are those keys working correctly on that keyboard?