How do coalition governments manage differences among alliance partners when passing important legislation?

This question arises from the news about Congress reaching out to alliance partners regarding Bills affecting top political positions. I want to understand the challenges and strategies involved in maintaining unity and consensus within a coalition.