It is extremely risky to work on a motherboard when it is still powered cause it's easy to short a connector if the wrong pins enter in contact during the connection. Now try to clean the connector and the socket where you see the burn marks. Use a very small flat screwdriver and carefuly scratch the pins to remove the burn mark and clean the metal. If you're lucky and nothing else is damaged you may be able to restaure the keyboard connection.