I'm thinking of putting my daughter's children at risk of being taken away
Why do you think they should be taken away?
I don't think my daughter's house is a good place to keep my grandkids.
If you think that place is bad to raise kids then yes you should contact the proper professionals to help them. It's more important for the kids to be raised in a proper home.
I just want what is best for my grandkids. But I'll try to work things out with my daughter first.
It's good you are trying to work things out with your daughter first because your relationship matters. Your grandkids deserve a mother and grandmother all together.