IF the child was claimed as a dependent on a tax return, their Social Security number will be on the return.
Or their SS number may be available from their doctor's office or from their school.
Or get a replacement SS card for the child using the procedure in this Social Security website - https://www.ssa.gov/pubs/EN-05-10514.pdf