Clearly the system can't see either the internal keyboard or trackpad. Which is why it's asking for both an external keyboard & mouse.
For now you'll need to connect an external keyboard & mouse (USB or Bluetooth) to get things going.
But why is it asking? That would imply the system got wet damaging the keyboard & trackpad or someone forgot to connect them back up internally (or damaged the connector or cable).