The funds will be deducted from your Zerodha trading account, so you need to ensure that the necessary balance is maintained. You can also set a standing instruction to transfer funds from your bank to Zerodha account, check this post to know the process.