Deport the parents and the minors go with the parents (regardless of citizenship).
Custody follows the parents not the child.
The problem is all the give handouts to illegals.. You cut off their money supply and they will self deport..