To use Sign In with Apple, you simply need to select the option when asked to log into a participating app or website.
You can connect a wireless keyboard to a Mac or PC using Bluetooth, as long as the keyboard is charged and in pairing mode.