normaly your Limit Switches have three wires:
Brown -> 24v
blue -> 0V
black -> Output
so if you want two (NC) Switches in series you have to wire:
Switch 1
Brown -> 24v
blue -> 0V
black -> to Brown of Switch 1
Switch 2
Brown -> from black of Switch 1
blue -> 0V
black -> to input