Vinayak_A :
but the problem is monitor is not showing anything not evn the asus logo. It just says No signal
That is a problem a lot more important than keyboard/mouse not working. I'm wondering what you wanted to do with your keyboard and mouse if you can't see anything on the monitor...
Have you connected your monitor to your graphics card? Don't connect it to your mobo. If you're using a Ryzen CPU, the motherboard graphics connectors won't work at all, since Ryzen doesn't feature integrated graphics.