There's an icon at the top of my phone. It looks like a phone with a keyboard below it. I can't figure out what it is or how it got there. Please help
That is the TTY symbol for hearing impaired. Go to settings, phone, turn off TTY
The description you are giving sounds as if you may have a blutooth connection connected to your iphone?? A blutooth keyboard possibly?
That's the TTY indicator. This is an Accessibility feature which means that the iPhone is set up to work with a TTY machine.
See here: http://support.apple.com/kb/ht3519
For future such problems you might find this useful.
Retrieving data ...