If you replaced the keyboard and the same exact keys are still not working then you most likely have a system board issue.
But check basic things and make sure before turning to any chip level operation that did you insert the cable properly and is your zip connector or header of keypad is good or broken from anywhere?
Some of my known people who connected with the laptop computer hardware