Probably from the emphatic form of ਕਿਉਂ (kiũ). (This etymology is missing or incomplete. Please add to it, or discuss it at the Etymology scriptorium.)
ਕਿਵੇਂ • (kivẽ) (Shahmukhi spelling کویں)