1. You must be kidding.

2. You have to be kidding.
(Can we use the second expression? Are both the same?)

Yes, they both mean the same thing. The second one is a bit more "slangy" than the first! =)