The key is 48 digits in 8 groups of 6.
On the recovery screen, the top number row can act as function keys. Hold Fn while typing, or use a USB keyboard with a number pad.
Touch input also works if you tap the on-screen keyboard.
The blue recovery screen shows a Key ID (the first 8 characters, or a longer ID). Your saved key must have the same ID. If the drive was ever re-encrypted, or you have several Microsoft accounts, you may have more than one key, and only one will match.
Check every place a key could be stored:
account.microsoft.com/devices/recoverykey, signed in with each personal Microsoft account you've used on the Surface
A work or school account, via myaccount.microsoft.com or your IT admin
Without the matching key, the data can't be recovered. The only way back in is to reset the device using a Surface USB recovery image from Microsoft (support.microsoft.com, "Surface recovery image download"). This erases the drive.