Yes, you can just say "Doushite?" when you want to ask why. To be polite, you can say"Doushite desuka?" I think this is the best and safest way for Japanese learners.
You could also say "Naze?" It's often used for formal writing or speech, such as essay and public speech, rather than daily conversation.
"Nande?" is another alternative. As you may know, "Nande" originally means "using what, how, by what." It can ALSO mean "Why?"depending on the context. If you use "Nande" in this meaning, it may sound a bit casual and rough, while "Doushite?" sounds relatively soft.