1. 'Guess what?' is a kind of discourse marker, used in conversation or informal writing, to show that the speaker is going to reveal something interesting or surprising.
'Guess what? I won the won the competition!'
'Guess what?' Joe and Sally are getting married.
You can also extend to make a longer question. For example:
'Guess who I saw yesterday?'
You're not really asking the other person to guess anything - it's just a way of getting their attention and signalling that you have something interesting to tell them.
2. 'Guess it' isn't actually a common phrase at all among native speakers. I can't think of a natural situation when we would say this. If you genuinely want someone to guess something, then you just say 'Guess!'.
A: So, what mark did you get in your exam?
B: Guess!
A: I don't know. 80%?
B: 100% !