It may or not may involve homeschooling. They were mostly likely there because they received intake of community referrals of potential neglect or abuse of your children. They will be back, and if you avoid them then the situation can escalate into a full blown pick-up order and a dependency action.
You will need to talk to them, but you need to be prepared. If it is the homeschooling issue then just have your documents ready. If it is more, make sure everything in your house is clean, safe, with enough good food. They'll most likely ask you to do a UA. Take recent photos of the conditions of your living space. It helps to have witnesses, good witnesses, people who can and willing to testify at court if need be. Those are just general tips .
You will most likely need an attorney. You will need an local attorney who deals with CPS.
Sign up to receive a 3-part series of useful information and advice about child custody law.