The UN says it needs nearly $640m to help Lebanon over the next six months.