How do I add multiple keys fields to a single form?

How do I add multiple keys fields to a single form?

Sorry for such a basic question, but how do I specify multiple key fields for a single form?  E.g., an apartment is uniquely identified by the combination of (1) the building number, and (2) the unit number.