It is impossible to determine the species with your description and without knowing where you got them from. Whether or not it is a frog or toad is inconsequential (since all toads are frogs), their specific care will be the same at this point.
Some things you should know about taking care of these guys: they need to eat very small insects that are live, namely pinhead crickets and fruit flies. If you do not have access to these with the next day or two release them all or else you risk starving them. Taking care of amphibians is nothing like a reptile, you have to understand that they must have exceptionally clean habitats, clean and dechlorinated water, and should not be handled.
The best thing you can be right now is to set them up any tank with moist paper towels, preferably the brown unbleached kind, or at least the solid white kind. Tip the tank to one side so that the dechlorinated water collects on one side a quarter of an inch in-depth. This is to give them access to water since they can easily dry out at this size, but it is easy to get out of the water so they do not drown.
Start searching on the Web now for general amphibian care.
-----
*Humans aren't the only species on earth... we just act like it.
".the oldest task in human history: to live on a piece of land without
spoiling it."
Aldo Leopold (1938)