You can copy a stream key to your keyboard by ctrl+C and paste it with ctrl+V. An alternative is simply clicking on the copy button available next to a stream key on YouTube and Twitch.