The material design documentation has an example of Google Maps showing two floating action buttons next to one another (actually, one above the other).
A very simple way (that worked for me!) was to just put the two floating buttons in a vertical linear layout at the bottom/end of its parent.
Just adjust the layout_margin attributes for the floating buttons to get the spacing as you want it.