The Bombay High Court has granted bail to two men accused of conspiring to attack Salman Khan.