Asks what another has his attention on. What is he thinking about or busy with? "Up" in this case is using a slangdefinition from around the 1930s meaning: occupied with, busy with.
This question is often used to start conversations with.
When I called my friend he didn't seem happy so I asked him "What is up?". He said he was having trouble with his girl.