How can 2-layer networks be used to classify more than two categories?
Can it be done just by adding more units/nodes into the existing layers?
I think the 2-layer neural network can be used to classify two or more class problem. It does not depend on the number of nodes of each layer. The problem you want to solve (i.e., the dataset you work on) decides how many classes you have.