There are two parts to this question- can your puppy get her pregnant, and is she able to conceive?
The easy part is your male puppy: At 8 months old he should be old enough to breed from. It does depend what breed he is though, as very large breeds do not reach sexual maturity until later, but generally speaking, 6 months + is old enough.
With regards to your female pup: In order to get pregnant, your dog must be in season. (This is close to the canine equivalent of menstruating). If she is not, she will likely not allow a male dog to mount her, nor will they want to, as she will not be giving off the pheromones to attract him.
Dogs usually have their first season between the ages of 6 months and a year, so if it has not happened yet, chances are it will soon.
However. It is not recommended that you breed a dog in their first season, as have not yet reached physical maturity (this doesn't happen until they are around 2 years old), so for the sake of your dog, and her future puppies, it might be wise to wait a while longer.