In this case, to whom should I pay khums? To any of them? I need to pay it as soon as possible but I don't know to whom.

You can give to either one or half and half to both.