1- It is allowed as long as they give the baby to a Muslim family who will raise then on faith. But giving them to non-Muslim families knowing that the child will grow up to be a disbeliever is not allowed. Also, in any case, Islamic laws like the laws of inheritance would still apply. So if the father dies, this child is still entitled to inheritance.
2- Adopting children from a poor family is permissible.