Hello.
Keel beam reinforces the structure in the longitudinal direction, very roughly said.
Also, it has a role in increasing the crashworthiness of the structure for the crash loads by reducing the impact forces transmitted from the sub-floor area to the payload.
This is, IMHO, the simplest explanation I can give you.
Cheers