Proper order of optimizing hyperparameters in ANN
My initial suggestion is to look in the literature for networks which have been implemented to do solve similar problems and start from there.
Then you should just try a bunch of different values for the parameters and see what works in your case.

See also this Cross Validated question: https://stats.stackexchange.com/questions/181/how-to-choose-the-number-of-hidden-layers-and-nodes-in-a-feedforward-neural-netw