Maybe it is just temporary bug… wait some time, and try again. Or try to restart the Mac App Store application.
But, if you need it right now, and nothing helps – you can download a dmg file with latest Xcode from:
https://developer.apple.com/downloads