Sensors to Arduino Micro to HC-05 Bluetooth to PC using keboard.press commands

The Micro uses native USB. The keyboard functions only work with that.

Serial simulates a serial port via USB and has no relation with the RX and TX pins on the Micro; those are Serial1. They don't interfere with the upload (contrary to e.g. an Uno or Mega).

If you managed to make the HC-05 show as a keyboard, have you tried something simple like

Serial1.print('1');

Which in an editor should show a one (if it works).