You need to tie them up first using a binding weapon or spell.
Then bring their hp to 0 while they have bindings.
Capturing reduces the reputation penalty iirc, and also lets you view/redress them in your collection