Performing the Hadoken in the Mega Man X games works much like it does in Street Fighter, so if you know that motion, you're halfway there. The real challenge for most players is actually obtaining the move in the first place.
To unlock it, head to the Armored Armadillo stage, and near the end, jump off at the wall while at full health. Pull that off correctly, and the Hadoken is yours to use.