Five Philippine legislators accused of plotting a coup against the president have emerged from the Congress building where they took refuge more than two months ago .