If the clock and data lines are both high the keyboard sends the (0) start bit, 8 data
bits, the parity bit and the stop bit. Data will be valid before the trailing edge and
beyond the leading edge of the clock pulse.
When the keyboard is ready to send data, it will wait, if necessary, for both the clock and data lines to go high. Then it will send the given bit sequence.
A timing diagram will show how the bits are sent, and their relationship to the clock signal.