Hard for wife to pump with crying twins

If we just do formula will babies be ok?