Cannot use ps2 keyboard during booting and in grub but works fine after os is loaded

A few days ago I installed and updated UBUNTU to it latest version during that period my keyboard worked fine in bios. And now I can’t boot to windows due to keyboard not working in grub. I tried removing CMOS battery but no difference. Also tried usb keyboard but same result. Pls help. AND THANKS IN ADVANCE.