Families of curves with ordinary singular points on regular surfaces